module "instance" {
  source               = "../../../modules/single_instance_project"
  network_interface_id = var.network_interface_id
  device_index         = 0
  instance_type        = "t3.micro"
  name                 = "public_1"
  iam_instance_profile = var.iam_instance_profile
}

variable "network_interface_id" {
  type = string
}

variable "iam_instance_profile" {
  type = string
}

output "instance_id" {
  value = module.instance.instance_id
}